package jackpot;

/**
 * @Description @TODO
 * @Date 2025/7/9 16:14
 * @Created by weimeiling
 */
public class WinTheLottery {
    public static void main(String[] args) {
        for (int i = 0; i < 2; i++) {
            System.out.println(createLotteryNumber());
        }
    }

    public static String createLotteryNumber() {
        String number = "";
        for (int i = 0; i < 6; i++) {
            number += String.valueOf(Math.round(Math.random() * 33) + 1);
//            if (i != 5)
            number += "-";
        }
        number += String.valueOf(Math.round(Math.random() * 16) + 1);
        return number;
    }
}
